<template>
    <el-aside width="260px">
        <el-menu router>
            <Menu :menu-list="menuList"></Menu>
        </el-menu>
    </el-aside>
</template>
<script>
export default defineComponent({
    name: 'LeftSider',
});
</script>
<script setup>
import Menu from "./Menu.vue"

let menuList = [
    {
        label: "自定义表格",
        path: '/table',
    },
    {
        label: "自定义表单",
        path: '/form',
    },
]

</script>
<style lang='scss' scoped>
.el-aside{
    --el-header-height: 60px;
    height: calc(100vh - var(--el-header-height));
    border-right: 1px solid #eeeeee;
}
</style>
